package cn.com.dycc.party_work.education_result.entity;

import java.io.Serializable;
import java.util.List;

import cn.com.dycc.common.attach.entity.Attach;

public class EducationResultInfo implements Serializable{

	
	/**
	 * 
	 */
	private static final long serialVersionUID = -7684306702029571426L;
	private String result_id;
	private String result_title;
	private String education_id;
	private String user_id;
	private String dept_id;
	private String report_date;
	private String report_des;
	private String state;
	private String org_id;
	
	private String education_name;
	private String username;
	private String account;
	private String dept_name;	
	
	private String education_flag;
	private String education_flag_desc;
	
	private String user_pic;
	
	
	private List<Attach> attach;
	
	
	public EducationResultInfo() {		
	}
	
	public EducationResultInfo(String result_id, String result_title, String education_id, String user_id,
			String dept_id, String report_date, String report_des, String state, String org_id, String education_name,
			String username, String account, String dept_name, String education_flag, String education_flag_desc,
			String user_pic, List<Attach> attach) {
		super();
		this.result_id = result_id;
		this.result_title = result_title;
		this.education_id = education_id;
		this.user_id = user_id;
		this.dept_id = dept_id;
		this.report_date = report_date;
		this.report_des = report_des;
		this.state = state;
		this.org_id = org_id;
		this.education_name = education_name;
		this.username = username;
		this.account = account;
		this.dept_name = dept_name;
		this.education_flag = education_flag;
		this.education_flag_desc = education_flag_desc;
		this.user_pic = user_pic;
		this.attach = attach;
	}
	
	@Override
	public String toString() {
		return "EducationResultInfo [result_id=" + result_id + ", result_title=" + result_title + ", education_id="
				+ education_id + ", user_id=" + user_id + ", dept_id=" + dept_id + ", report_date=" + report_date
				+ ", report_des=" + report_des + ", state=" + state + ", org_id=" + org_id + ", education_name="
				+ education_name + ", username=" + username + ", account=" + account + ", dept_name=" + dept_name
				+ ", education_flag=" + education_flag + ", education_flag_desc=" + education_flag_desc + ", user_pic="
				+ user_pic + ", attach=" + attach + "]";
	}
	
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((result_id == null) ? 0 : result_id.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		EducationResultInfo other = (EducationResultInfo) obj;
		if (result_id == null) {
			if (other.result_id != null)
				return false;
		} else if (!result_id.equals(other.result_id))
			return false;
		return true;
	}

	
	
	
	
	
	public List<Attach> getAttach() {
		return attach;
	}

	public void setAttach(List<Attach> attach) {
		this.attach = attach;
	}

	public String getUser_pic() {
		return user_pic;
	}




	public void setUser_pic(String user_pic) {
		this.user_pic = user_pic;
	}




	public String getEducation_flag() {
		return education_flag;
	}


	public void setEducation_flag(String education_flag) {
		this.education_flag = education_flag;
	}


	public String getEducation_flag_desc() {
		return education_flag_desc;
	}


	public void setEducation_flag_desc(String education_flag_desc) {
		this.education_flag_desc = education_flag_desc;
	}


	public String getEducation_name() {
		return education_name;
	}


	public void setEducation_name(String education_name) {
		this.education_name = education_name;
	}


	public String getUsername() {
		return username;
	}


	public void setUsername(String username) {
		this.username = username;
	}


	public String getAccount() {
		return account;
	}


	public void setAccount(String account) {
		this.account = account;
	}


	public String getDept_name() {
		return dept_name;
	}


	public void setDept_name(String dept_name) {
		this.dept_name = dept_name;
	}


	public String getResult_id() {
		return result_id;
	}

	public void setResult_id(String result_id) {
		this.result_id = result_id;
	}

	public String getResult_title() {
		return result_title;
	}

	public void setResult_title(String result_title) {
		this.result_title = result_title;
	}

	public String getEducation_id() {
		return education_id;
	}

	public void setEducation_id(String education_id) {
		this.education_id = education_id;
	}

	public String getUser_id() {
		return user_id;
	}

	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}

	public String getDept_id() {
		return dept_id;
	}

	public void setDept_id(String dept_id) {
		this.dept_id = dept_id;
	}

	public String getReport_date() {
		return report_date;
	}

	public void setReport_date(String report_date) {
		this.report_date = report_date;
	}

	public String getReport_des() {
		return report_des;
	}

	public void setReport_des(String report_des) {
		this.report_des = report_des;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getOrg_id() {
		return org_id;
	}

	public void setOrg_id(String org_id) {
		this.org_id = org_id;
	}
	

}
